/*
   调用对象
 */
public class TestWork04 {
    public static void main(String[] args) {
        Work041 cat = new Work041('花', "波斯");
        cat.eat();
        cat.catchMouse();
        Work042 dog = new Work042();
        dog.setColor('黑');
        dog.setBreed("藏獒");
        dog.eat();
        dog.lookHome();
    }
}
